/**
 * Project: topdt-jbpm
 * Copyright 2013  Top Digital Technology  Co. Ltd.
 * All right reserved.
 */
package com.topdt.jbpm.model;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.GenericGenerator;

/**
 * 建立日期 : 2013-4-12 下午3:59:36<br>
 * 作者 : balance<br>
 * 模块 : <br>
 * 描述 : <br>
 * 修改历史: 序号 日期 修改人 修改原因 <br>
 * 1 <br>
 * 2 <br>
 */
@Entity
@Table(name = "wf_control")
public class Control extends JbpmModel {

	private static final long serialVersionUID = 4759147426414511885L;

	@Id
	@GeneratedValue(generator = "generator")
	@GenericGenerator(name = "generator", strategy = "uuid")
	@Column(length = 32)
	private String controlId;
	
	private String appId;
	private String formId;
	private String flowId;
	private String activityName;
	private String fieldControl;
	private String functionControl;
	/*
	 * 2014-11-10 17:51 wangxufeng edit
	 * 提醒控制  形式如   下一步骤_发起人_全部经办人：事务提醒短信提醒邮件提醒（1启用0未启用）101000001
	 */
	@Column(name="REMIND_CONTROL")
	private String remindControl;
	
	//默认意见 2015-02-02 add
	private String defaultOption;
	
	//外置意见，流程环节对应的意见key
	private String opinionName;
	
	public String getControlId() {
		return controlId;
	}
	public void setControlId(String controlId) {
		this.controlId = controlId;
	}
	public String getAppId() {
		return appId;
	}
	public void setAppId(String appId) {
		this.appId = appId;
	}
	
	public String getFormId() {
		return formId;
	}
	public void setFormId(String formId) {
		this.formId = formId;
	}
	public String getFlowId() {
		return flowId;
	}
	public void setFlowId(String flowId) {
		this.flowId = flowId;
	}
	public String getActivityName() {
		return activityName;
	}
	public void setActivityName(String activityName) {
		this.activityName = activityName;
	}
	public String getFieldControl() {
		return fieldControl;
	}
	public void setFieldControl(String fieldControl) {
		this.fieldControl = fieldControl;
	}
	public String getFunctionControl() {
		return functionControl;
	}
	public void setFunctionControl(String functionControl) {
		this.functionControl = functionControl;
	}
	public String getRemindControl() {
		return remindControl;
	}
	public void setRemindControl(String remindControl) {
		this.remindControl = remindControl;
	}
	public String getDefaultOption() {
		return defaultOption;
	}
	public void setDefaultOption(String defaultOption) {
		this.defaultOption = defaultOption;
	}
	public String getOpinionName() {
		return opinionName;
	}
	public void setOpinionName(String opinionName) {
		this.opinionName = opinionName;
	}

	
}
